#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
int main() {
    int m, n;
    scanf("%d %d", &m, &n);
    double balance = 0.0;
    for (int i = 0; i < n; i++) {
        balance = (balance + m) * (1 + 0.00417);
    }
    printf("$%.2lf", balance);
    return 0;
}